package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 排班列对象 sys_attendance_list
 * 
 * @author ruoyi
 * @date 2023-01-31
 */
public class SysAttendanceList extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long listId;

    /** 填表人 */
    @Excel(name = "填表人")
    private String userName;

    /** 填表人id */
    @Excel(name = "填表人id")
    private Long userId;

    /** 填表月份 */
    @Excel(name = "填表月份")
    private String signMonth;

    /** 填报时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "填报时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date time;

    public void setListId(Long listId) 
    {
        this.listId = listId;
    }

    public Long getListId() 
    {
        return listId;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setSignMonth(String signMonth) 
    {
        this.signMonth = signMonth;
    }

    public String getSignMonth() 
    {
        return signMonth;
    }
    public void setTime(Date time) 
    {
        this.time = time;
    }

    public Date getTime() 
    {
        return time;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("listId", getListId())
            .append("userName", getUserName())
            .append("userId", getUserId())
            .append("signMonth", getSignMonth())
            .append("time", getTime())
            .toString();
    }
}
